package com.dragon.payment;

import com.alibaba.fastjson.JSONObject;

public interface PaymentBaoShengService {
	
	/**
	 * 查询宝生还款计划，并更新云科贷还款计划
	 * @param loanId
	 * @param reqNo
	 * @return
	 */
	public JSONObject queryRepaymentPlanAndUpdate(String loanId);
	
	/**
	 * 主动还款时获取宝生银行还款信息
	 * @param type 还款类型
	 * @param loanId
	 * @return
	 */
	public JSONObject queryBaoShengRepaymentInfo(String type, String loanId);
	
	/**
	 * 判断是否是宝生资金源 条件只传入一个即可
	 * @param fundSource 
	 * @param loanId
	 * @return
	 */
	public boolean isBaoShengFundSource(Object fundSource, String loanId);
}
